package mysql

import "gorm.io/gorm"

type Wechat struct {
	gorm.Model
	Mobile     string `gorm:"type:char(11);not null;comment:'手机号'"`
	Password   string `gorm:"type:char(32);not null;comment:'密码'"`
	Avatar     string `gorm:"type:varchar(200);not null;comment:'图片'"`
	Nickname   string `gorm:"type:varchar(8);not null;comment:'昵称'"`
	Address    string `gorm:"type:varchar(50);not null;comment:'地址'"`
	WechatName string `gorm:"type:varchar(30);not null;comment:'微信'"`
}
